
#include <stdio.h>
#include <stdlib.h>

void *jj01_malloc(unsigned int num_bytes)
{
	void * ret = malloc(num_bytes);
	fprintf(stderr,"malloc %u %x",num_bytes,(long)ret);
	return ret;
}
void *jj01_realloc(void *mem_address, unsigned int newsize)
{
	void * ret = realloc(mem_address,newsize);
	fprintf(stderr,"realloc %u %x",newsize,(long)ret);
	return ret;
}
void *jj01_calloc(size_t n, size_t size)
{
	void * ret = calloc(n,size);
	fprintf(stderr,"calloc %u %x",n*size,(long)ret);
	return ret;
}
void jj01_free(void * ptr)
{
	fprintf(stderr,"free %x",(long)ptr);
	free(ptr);
}
